package com.example.springboot01.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName : com.example.springboot01.entity.Dog
 * @Description : 类描述
 * Created by cyd on 2020-11-29 17:00:49
 */
@Data
@Component
@ConfigurationProperties(prefix = "dog")
public class Dog {
    private String name;
}
